// wushi.c

inherit NPC;
//string inquiry_dao();

void greeting(object ob);

void create()
{
    set_name("巫士", ({ "wushi" }) );
    set("gender", "男性" );

    set("age", 45);
    set("long", "诡异的苗人巫士，好象想杀了你祭神。\n");
    set("shen_type",-1);
    set("combat_exp", 6000);

    set("attitude", "aggressive");

    set("apply/attack", 20);
    set("apply/defense", 20);

    set("chat_chance", 30);
    set("chat_msg", ({
        "巫士一声大喊: @@###$$!!! @@@! &*%%%%@!!! \n",
    }) );

    set_skill("unarmed", 35);
    set_skill("blade", 20);
    set_skill("parry", 30);
    set_skill("dodge", 30);

    setup();
    carry_object("/clone/misc/cloth")->wear();
        carry_object("/d/mingjiao/obj/mutang")->wield();
    add_money("silver", 10);
}

void init()
{
    object ob;

    ::init();

    if( interactive(ob = this_player()) && !is_fighting() ) {
        remove_call_out("greeting");
        call_out("greeting", 1, ob);
    }
}

void greeting(object ob)
{
    if( !ob || environment(ob) != environment() ) return;
    else command("kill"+(string)ob->query("id"));
    return;
}
